﻿package cn.poco.pepsi.util;

import android.app.ProgressDialog;
import android.content.Context;

/**
 * @author jack
 *显示窗口
 */
public class MyProgressDialog {
	public static ProgressDialog show(Context context,String msg) {
		ProgressDialog dialog = new ProgressDialog(context);
		dialog.setMessage(msg);
		dialog.setIndeterminate(true);
		dialog.setCancelable(true);
		dialog.show();
		return dialog;
	}

}
